{
  "properties" : { },
  "id" : "510e82e092074d30b3c874bbc1e02cf5",
  "script" : null,
  "groupId" : "0ae13df90a5c41a7930f46ab7d7936cb",
  "name" : "取消关联可批量",
  "createTime" : 1727070885377,
  "updateTime" : 1725270751519,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "remove",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\"ids\":\"1830539028324204546\"}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": 1\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : "",
    "value" : "",
    "description" : "",
    "required" : false,
    "dataType" : "Object",
    "type" : null,
    "defaultValue" : null,
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ {
      "name" : "ids",
      "value" : "1830539028324204546",
      "description" : "",
      "required" : false,
      "dataType" : "String",
      "type" : null,
      "defaultValue" : null,
      "validateType" : "",
      "error" : "",
      "expression" : "",
      "children" : [ ]
    } ]
  },
  "responseBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  }
}
================================
import java.lang.reflect.Array

var ids = body.ids
var idList = Arrays.asList(ids.split(","))
return db.table("ndmp_dynamic_model_relation").where().in("id", idList).delete()